home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group94a.txt
/
000122_icon-group-sender _Mon May 9 22:16:03 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-08-19
|
2KB
Received: by cheltenham.cs.arizona.edu; Mon, 9 May 1994 23:45:07 MST
Path: ucbvax!hplabs!sdd.hp.com!hp-pcd!news!edmoore
From: edmoore@vcd.hp.com (Ed Moore)
Newsgroups: comp.lang.icon
Subject: Icon for Unix scripts?
Message-Id: <CpK36s.MwA@vcd.hp.com>
Date: 9 May 94 22:16:03 GMT
Sender: news@vcd.hp.com (News user)
Organization: Hewlett-Packard VCD
Lines: 41
Nntp-Posting-Host: hpvcledm.vcd.hp.com
X-Newsreader: TIN [version 1.2 PL1.4]
Apparently-To: icon-group@cs.arizona.edu
Status: R
Errors-To: icon-group-errors@cs.arizona.edu
I know nothing of Icon except what I read today in the FAQ. I need a
better way than ksh to create Unix shell scripts. I had come to believe
that method is perl. My knowledge of perl consists of a couple of hours
reading of "Learning Perl". Maybe I should consider Icon instead of perl.
From the FAQ:
: Icon is a very high level general-purpose programming language with
: extensive features for processing strings (text) and data structures.
This sounds vaguely like perl.
: Icon is an imperative, procedural language
What does imperative means in this context?
: It has a string scanning facility for pattern matching that avoids
: the tedious details usually associated with analyzing strings.
Better than perl's?
: Several implementations of Icon have high-level graphics facilities with
: an easily programmed window interface.
Now this is what got my attention! I need a way to create a simple,
graphical interface to a Unix script. The script would open a window
showing all arguments for the script. Each argument would have two
or more options. A default option would be shown for some arguments.
Options would be chosen with mouse picks. Choosing an option would mark
it in the window and unmark any conflicting options. The window would
have a file scroll table from which multiple files could be selected
with the mouse. Finally, the window would have a Do-It button to
execute the action of the script. Can Icon fill this role? We run on
HP-UX systems with X Windows.
Thanks for any help you can give me.
--
Ed Moore
Hewlett-Packard
Vancouver, WA, USA
edmoore@vcd.hp.com